<include file="Index/header" />
    <!--sidebar left start-->
    <include file="Index/nav" />
    <!--左侧栏 end-->
    <!--主内容 start-->
    <section class="main-content-wrapper">
        <section id="main-content">
            
            <div class="row">
                    <div class="col-md-12">
                        <div class="panel panel-default">
                            <div class="panel-heading">
                                <h3 class="panel-title">用户管理</h3>
                                <div class="actions pull-right">
                                    <i class="fa fa-chevron-down"></i>
                                    <i class="fa fa-times"></i>
                                </div>
                            </div>
                            <div class="panel-body"> 
                            	
								<button id="cs_add_news_btn" type="button" class="btn btn-primary"><i class="fa  fa-plus"></i>添加账户</button>		
                            	<form id="cs_listorder_form">
                                <table id="example" class="table cs_menu_table table-striped table-bordered" cellspacing="0" width="100%">
                                    <thead>
                                        <tr>
                                            <th>id</th>
                                            <th>用户名</th>
                                            <th>上次登录</th>
                                            <th>邮箱</th>
                                            <th>昵称</th>
                                            <th>状态</th>
                                            <th>操作</th>
                                        </tr>
                                    </thead>
                                    <tbody>
	                                    <volist name="admin" id="admin">
	                                        <tr>
	                                            <td>{$admin.admin_id}</td>
	                                            <td>{$admin.username}</td>
	                                            <td>{$admin.lastlogintime|date="Y-m-d H:i",###}</td>
	                                            <td>{$admin.email}</td>
	                                            <td>{$admin.realname}</td>
	                                            <td>{$admin.status|getMenuStatus}</td>
	                                            <td><span class="btn btn-primary btn-xs" attr-id="{$admin.admin_id}" id="edit"><i class="fa fa-edit"></i></span>&nbsp;&nbsp;<span class="btn btn-danger btn-xs" attr-id="{$admin.admin_id}" attr-message="删除？" id="del"><i class="fa fa-trash-o"></i></span></td>
	                                        </tr>
	                                    </volist>
                                    </tbody>
                                </table>
                                <div>
                                	<ul class="pagination">
                                		{$pageRes}
                                	</ul>
                                </div>
								
								</form>
                            </div>
                        </div>
                    </div>
                </div>
          
            
        </section>
    </section>
    <!--主内容区 end-->
    <script src="/Public/js/admin/admin.js" type="text/javascript" charset="utf-8"></script>
    <script type="text/javascript">
    	var SCOPE={
			'add_url':'/admin.php?c=admin&a=add',
			'edit_url':'/admin.php?c=admin&a=edit',
			'del_url':'/admin.php?c=admin&a=del',
			'jump_url':'/admin.php?c=admin&a=index',
			'listorder_url':'/admin.php?c=admin&a=listorder',
			'ajax_upload_img_url':'/admin.php?c=image&a=save',
		}
    </script>
        
<include file="Index/footer" />
